As a gas giant has migrated close to its parent star, the stellar wind begins to tear away its atmosphere.